﻿
Imports std
Imports runrroom

Public Class progress
    Inherits distrrule_progress

    Public Sub New(ByVal jobid As String, ByVal cmd As vector(Of String), ByVal rule As distrrule)
        MyBase.New(jobid, cmd, rule)
    End Sub

    Protected Overrides Function run(ByVal machine As String, ByVal jobid As String, ByVal cmd As String) As Boolean
        Return lrclient(machine).run(jobid, cmd)
    End Function

    Protected Overrides Function status(ByVal machine As String, ByVal jobid As String, _
                                        ByRef percentage As percentage_t) As Boolean
        Return lrclient(machine).status(jobid, percentage)
    End Function
End Class
